/*
 * @Author: lsmi
 * @Date: 2021-06-08 20:33:28
 * @LastEditors: lsmi
 * @LastEditTime: 2021-07-11 21:11:59
 * @FilePath: \v2_play_js\babel.config.js
 */
module.exports = {
  presets: ["@vue/cli-plugin-babel/preset"],
  // presets: [["es2015", { modules: false }]],
  plugins: [
    [
      "import",
      {
        libraryName: "@icon-park/vue",
        libraryDirectory: "es/icons",
        camel2DashComponentName: false,
      },
      "iconPark",
    ],
    [
      "component",
      {
        libraryName: "element-ui",
        styleLibraryName: "theme-chalk",
      },
    ],
  ],
};
